<!--
 * @Description: 
 * @Autor: dongjunhua
 * @Date: 2020-12-28 09:09:40
 * @LastEditors: Qun
 * @LastEditTime: 2021-09-10 17:22:57
-->
<template>
  <div class="app-container">
    <el-row class="box">
      <el-col :span="12">
        <el-button class="step-1">操作1</el-button>
      </el-col>
      <el-col :span="12">
        <el-button class="step-2">操作2</el-button>
      </el-col>
    </el-row>
    <sticky>
      <el-row class="box box-top">
        <el-col :span="24">
          使用 Sticky 组件 Demo
        </el-col>
      </el-row>
    </sticky>
    <el-row class="box box-buttom">
      <el-col :span="12">
        <el-button class="step-3">操作3</el-button>
      </el-col>
      <el-col :span="12">
        <el-button class="step-4">操作4</el-button>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import Sticky from '@/components/Sticky';
export default {
  name: 'Driver',
  components: { Sticky },
  setup() {}
};
</script>
<style lang="scss" scoped>
.app-container {
  margin: 20px;
  padding: 0;
  .box {
    padding: 20px;
    background-color: #ffffff;
    margin-bottom: 20px;
  }
  .box-top {
    background-color: #92a7c4;
  }
  .box-buttom {
    margin-top: 100vh;
  }
}
</style>
<style>
div#driver-highlighted-element-stage {
  max-height: 100vh;
  margin: -10px;
}
</style>
